package com.itqf.service;

import com.itqf.bean.DtsGoodsSpecification;

import java.util.List;

/**
 * projectName: gp_manage
 *
 * @author: 赵伟风
 * time: 2021/8/23 23:11
 * description:
 */
public interface DtsGoodsSpecificationService {

    /**
     * 查询商品类别的的规格
     * @param id
     * @return
     */
    List<DtsGoodsSpecification> findSpecificationByGid(Integer id);

    /**
     * 删除规格
     * @param gid
     */
    void deleteByGid(Integer gid);

    /**
     * 添加规格
     * @param specification
     */
    void add(DtsGoodsSpecification specification);
}
